import java.util.Scanner;

public class main4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n1 = sc.nextInt();
        int n2 = sc.nextInt();
        int q = sc.nextInt();
        for(int i=0;i<n1;i++){

        }
    }
}
